#include<iostream>
using namespace std;
int n, m;
int main()
{
	while (cin >> n >> m) {
		if (!n && !m)break;
		if (n % 2 == 1 && m % 2 == 1) {
			cout << "What a pity!" << endl;
		}
		else cout << "Wonderful!" << endl;
	}
	return 0;
}